<!--[*
// ----------------------------------------------------------------------
// Source file:  $Source: /cvsroot/pn-commerce/pn-commerce/pntemplates/pncommerce_admin_main.html,v $
//
// Last changes from:  $Author: landseer $
//
// Revision:           $Revision: 1.52 $
//
// Date of revision    $Date: 2005/03/22 11:47:33 $
//
// ----------------------------------------------------------------------
*]-->

<!--[ include file='pncommerce_admin_commonHeader.html' ]-->

<br><!--[ pngetstatusmsg ]--><br>
<!--[ *pndebug* ]-->
<!-- basic store configuration selections start here -->
<fieldset>
    <legend>
        <!--[pnml name='_PNC_CARTCONFIGURATION' html=1 ]-->&nbsp; <a <!--[pncManualURL Chapter="208" OpenHelpWindow='1']-->> <!--[pnimg src="doc.gif" border='0' ]--></a>
    </legend>
    <div class="adminrow">
    
        <div class="admincell33">
            <a title='<!--[pnml name='_PNC_PNCCONFIGHOVER' html=1]-->' href='<!--[pncAdminModURL func=config]-->'><!--[pnml name='_PNC_PNCCONFIG' html=1 ]--></a>
        </div>
    
        <div class="admincell33">
            <a title='<!--[pnml name='_PNC_VATEDITHOVER' html=1]-->' href='<!--[pncAdminModURL func=vatedit]-->'><!--[pnml name='_PNC_VATEDIT' html=1 ]--></a>
        </div>
    
        <div class="admincell33">
            <a title='<!--[pnml name='_PNC_CONFIGPAYMETHODSHOVER' html=1]-->' href='<!--[pncAdminModURL func=paymethodconfig]-->'><!--[pnml name='_PNC_CONFIGPAYMETHODS' html=1 ]--></a>
        </div>
    </div>
    
    <div class="adminrow">
        <div class="admincell33">
            <a title='<!--[pnml name='_PNC_FUTURELINKHOVER' html=1]-->' href='<!--[pncAdminModURL func=main ]-->'><!--[pnml name='_PNC_FUTURELINK' html=1 ]--></a>
        </div>
    
        <div class="admincell33">
            <a title='<!--[pnml name='_PNC_LOCALESETTINGSHOVER' html=1]-->' href='<!--[pncAdminModURL func=localeconfig ]-->'><!--[pnml name='_PNC_LOCALESETTINGS' html=1 ]--></a>
        </div>
    
        <div class="admincell33">
            <a title='<!--[pnml name='_PNC_CONFIGSHIPPINGMETHODSHOVER' html=1]-->' href='<!--[pncAdminModURL func=shippingmethodconfig]-->'><!--[pnml name='_PNC_CONFIGSHIPPINGMETHODS' html=1 ]--></a>
        </div>
    </div>
    
    <div class="adminrow">
        <div class="admincell33">
            <a title='<!--[pnml name='_PNC_ORDERMANAGEMENTHOVER']-->' href='<!--[pncAdminModURL func=receiptsearch]-->'><!--[pnml name='_PNC_ORDERMANAGEMENT' html=1 ]--></a>
        </div>
    
        <div class="admincell33">
            <a title='<!--[pnml name='_PNC_VALIDATEDATABASEHOVER']-->' href='<!--[pncAdminModURL func=validatedatabase]-->'><!--[pnml name='_PNC_VALIDATEDATABASE' html=1 ]--></a>
        </div>
    
        <div class="admincell33">
            <a title='<!--[pnml name='_PNC_MODIFICATIONCONFIGHOVER']-->' href='<!--[pncAdminModURL func=modificationconfig]-->'><!--[pnml name='_PNC_MODIFICATIONCONFIG' html=1 ]--></a>
        </div>
    </div>

</fieldset>

<br>
<div style="clear: both;">
<fieldset>
    <legend>
        <!--[ pnml name='_PNC_SHOPAVAILABILITY' html=1 ]-->&nbsp; <a <!--[pncManualURL Chapter="activate" OpenHelpWindow='1']-->> <!--[pnimg src="doc.gif" border='0' ]--></a>
    </legend>
    <form action='<!--[ pncAdminModURL func=changeactivestate ]-->' method='post'>
        <div style="text-align: center;">
            <!--[ if $ShopStatus==off ]-->
                <!--[ pnml name='_PNC_SHOPINACTIVE' html=1 ]--> <input class='pn-button' type='submit' name='active' value='<!--[ pnml name='_PNC_ACTIVATESHOPNOW' ]-->'>
                <!--[ else ]-->
                <!--[ pnml name='_PNC_SHOPACTIVE' html=1 ]--> <input class='pn-button' type='submit' name='active' value='<!--[ pnml name='_PNC_DEACTIVATESHOPNOW' ]-->'>
            <!--[ /if ]-->
        </div>
    </form>
</fieldset>
</div>
<br>

<!-- template editing starts here-->
<div style="clear: both;">
<fieldset>
    <legend>
        <b><!--[pnml name='_PNC_TEMPLATES' html=1 ]--></b>&nbsp; <a <!--[pncManualURL Chapter="templates" OpenHelpWindow='1']-->> <!--[pnimg src="doc.gif" border='0' ]--></a>
    </legend>

    <form name="TemplateEdit" action='<!--[pncAdminModURL func=templateedit]-->' method="post">
    <div class="adminrow">
        <div class="admincell25">
            <!--[pnml name='_PNC_EDITTEMPLATE' html=1 ]-->
        </div>
    
        <div class="admincell66">
            <select name="TemplateID" size="1">
                <option value="-1"><!--[pnml name='_PNC_ADDTEMPLATE' html=1 ]--></option>
                <!--[$TemplateList]-->
            </select>
            &nbsp;&nbsp;<input type="submit" value="<!--[pnml name='_PNC_SUBMIT']-->">
        </div>
    </div>
    </form>
</fieldset>
</div>

<!-- reports start here -->
<div style="clear: both;">
<fieldset>
    <legend>
        <b><!--[pnml name='_PNC_REPORTS' html=1 ]--></b>&nbsp; <a <!--[pncManualURL Chapter="reports" OpenHelpWindow='1']-->> <!--[pnimg src="doc.gif" border='0' ]--></a>
    </legend>
    <div class="adminrow">
        <div class="admincell33">
            <a title='<!--[pnml name='_PNC_STRUCTURETREEHOVER' html=1]-->' href='<!--[pncAdminModURL func=structuretree]-->'><!--[pnml name='_PNC_STRUCTURETREE html=1 ]--></a>
        </div>
    
        <div class="admincell33">
            <a title='<!--[pnml name='_PNC_EXPORTHOVER' html=1]-->' href='<!--[pncAdminModURL func=export]-->'><!--[pnml name='_PNC_EXPORT' html=1 ]--></a>
        </div>
    
        <div class="admincell33">
            <a title='<!--[pnml name='_PNC_IMPORTHOVER' html=1]-->' href='<!--[pncAdminModURL func=import]-->'><!--[pnml name='_PNC_IMPORT' html=1 ]--></a>
        </div>
    </div>
    
    <div class="adminrow">
        <div class="admincell33">
            <a title='<!--[pnml name='_PNC_STATISTICSHOVER' html=1]-->' href='<!--[pncAdminModURL func=reports]-->'><!--[pnml name='_PNC_STATISTICS' html=1 ]--></a>
        </div>
    
        <div class="admincell33">
            <a href="<!--[pncAdminModURL func=debuginfo]-->"><!--[pnml name='_PNC_VERSIONINFO' html=1 ]--></a>
        </div>
    
        <div class="admincell33">
            <a href="<!--[pncAdminModURL func=phpinfo]-->"><!--[pnml name='_PNC_PHPINFO' html=1 ]--></a>
        </div>
    </div>
</fieldset>
</div>

<!-- begin the scheme editing here -->
<div style="clear: both;">
<fieldset>
    <legend>
        <b><!--[pnml name='_PNC_SCHEMEMANAGEMENT' html=1 ]--></b>&nbsp; <a <!--[pncManualURL Chapter="schemes" OpenHelpWindow='1']-->> <!--[pnimg src="doc.gif" border='0' ]--></a>
    </legend>
    <form name="schemeedit" action="<!--[ pnmodurl modname=pncommerce type=admin func=editscheme ]-->" method="post">
    <div>
        <select name="schemeid" size="1">
            <option value="-1"><!--[ pnml name='_PNC_ADDNEWSCHEME' ]--></option>
            <!--[ if count($schemes)>0 ]-->
            <!--[ foreach item=scheme from=$schemes ]-->
            <option value="<!--[ $scheme.scheme_id ]-->"><!--[ $scheme.name ]--></option>
            <!--[ /foreach ]-->
            <!--[ /if ]-->
        </select>
        <input type="submit" name="Submit" value="<!--[ pnml name='_SUBMIT' ]-->">
    </div>
    </form>
</fieldset>
</div>
<!-- end scheme editing here -->

<!-- begin the category editing here -->
<div style="clear: both;">
<fieldset>
    <legend>
        <b><!--[pnml name='_PNC_CATEGORIES' html=1 ]--></b>&nbsp; <a <!--[pncManualURL Chapter="categories" OpenHelpWindow='1']-->> <!--[pnimg src="doc.gif" border='0' ]--></a>
    </legend>
    <form name="CatAdd" action='<!--[pncAdminModURL func=categoryedit]-->' method="post">
    <div class="adminrow">
        <div class="admincell25">
            <!--[pnml name='_PNC_ADDACAT' html=1 ]-->
        </div>
        <div class="admincell66">
            <input class='pn-button' type='submit' name='Submit' value='<!--[pnml name='_PNC_CLICKHERE' html=1]-->'>
            <input type='hidden' name='Mode' value='add'>
        </div>
    </div>
    </form>
    
    <form name="CatEdit" action='<!--[pncAdminModURL func=categoryedit]-->' method="post">
    <div class="adminrow">
        <div class="admincell25">
            <!--[pnml name='_PNC_EDITCAT' html=1 ]-->
        </div>
        <div class="admincell66">
            <select name="CID" size="1">
            <option value="">--<!--[pnml name='_PNC_SELECT' html=1 ]-->--</option>
            <!--[ $AvailableCategoryTree ]-->
            </select>
            &nbsp;&nbsp;<input type="submit" value="<!--[pnml name='_PNC_SUBMIT' html=1]-->">
            <input type='hidden' name='Mode' value='edit'>
        </div>
    </div>
    </form>
</fieldset>
</div>

<!-- begin the product editing here -->
<div style="clear: both;">
<fieldset>
    <legend>
        <b><!--[pnml name='_PNC_NORMALITEM' html=1 ]--></b>&nbsp; <a <!--[pncManualURL Chapter="products" OpenHelpWindow='1']-->> <!--[pnimg src="doc.gif" border='0' ]--></a>
    </legend>
    <form name="ProdByID" action="<!--[ pncAdminModURL func=itemedit ]-->" method="post">
    <div class="adminrow">
        <div class="admincell33">
            <!--[ pnml name='_PNC_DIRECTACCESSBYITEMID' ]-->:
        </div>
        <div class="admincell66">
            <input name="IID" type="text" size="10" maxlength="10" value="">
            <input type="hidden" name="Mode" value="edit">
            <input type='submit' name='Submit' value='<!--[pnml name='_PNC_CLICKHERE' html=1]-->'>
        </div>
    </div>
    </form>

    <form name="ProdBySKU" action="<!--[ pncAdminModURL func=itemedit ]-->" method="post">
    <div class="adminrow">
        <div class="admincell33">
                <!--[ pnml name='_PNC_DIRECTACCESSBYITEMSKU' ]-->:
        </div>
        <div class="admincell66">
            <input type="hidden" name="Mode" value="edit">
            <input name="SKU" type="text" size="10" maxlength="25" value="">
            <input type='submit' name='Submit' value='<!--[pnml name='_PNC_CLICKHERE' html=1]-->'>
        </div>
    </div>
    </form>

    <form name="ProdSearch" action='<!--[pncAdminModURL func=itemsearch]-->' method="post">
    <div class="adminrow">
        <div class="admincell33">
            <!--[pnml name='_PNC_GETANITEM' html=1 ]-->
        </div>
        <div class="admincell66">
            <input type='submit' name='Submit' value='<!--[pnml name='_PNC_CLICKHERE' html=1]-->'>
        </div>
    </div>
    </form>
    
    <form name="AddItem" action='<!--[pncAdminModURL func=itemedit]-->' method="post">
    <div class="adminrow">
        <div class="admincell33">
            <!--[pnml name='_PNC_ADDITEM' html=1 ]-->
        </div>
        <div class="admincell66">
            <input type='hidden' name='Mode' value='add'>
            <input type='submit' name='Submit' value='<!--[pnml name='_PNC_CLICKHERE' html=1]-->'>
        </div>
    </div>
    </form>
</fieldset>
</div>
<!-- end of product editing -->

<!-- customer editing -->
<div style="clear: both;">
<fieldset>
    <legend>
        <b><!--[ pnml name='_PNC_CUSTOMERMANAGEMENT' html=1 ]--></b>&nbsp; <a <!--[pncManualURL Chapter="customermanagement" OpenHelpWindow='1']-->> <!--[pnimg src="doc.gif" border='0' ]--></a>
    </legend>
    <form action='<!--[ pncAdminModURL func=customersearch ]-->' method='post'>
    <div class="adminrow">
        <div class="admincell25">
            <!--[ pnml name='_PNC_CUSTOMERSEARCH' html=1 ]-->
        </div>
        <div class="admincell66">
            <input class='pn-button' type='submit' value='<!--[ pnml name='_PNC_CLICKHERE' html=1 ]-->'>
        </div>
    </div>
    </form>

    <form action='<!--[ pncUserModURL func='userdata' html=1 ]-->' method='post'>
    <div class="adminrow">
        <div class="admincell25">
            <!--[ pnml name='_PNC_CUSTOMEREDIT' html=1 ]-->
        </div>
        <div class="admincell66">
            <input type='text' name='UserID' value=''>
            <input type='submit' name='Submit' value='<!--[pnml name='_SUBMIT' ]-->'>
        </div>
    </div>
    </form>
</fieldset>    
</div>
<!-- end of customer editing -->
<!-- end of all editing here -->

<!--[ if $CustomModuleCount>0 ]-->
<div style="clear: both;">
<fieldset>
    <legend>
        <b><!--[pnml name='_PNC_CUSTOMMODULES' html=1 ]--></b>&nbsp; <a <!--[pncManualURL Chapter="custommodules" OpenHelpWindow='1']-->> <!--[pnimg src="doc.gif" border='0' ]--></a>
    </legend>
    <div class="adminrow">
        <!--[ foreach item=custommodule from=$CustomModules ]-->
        <form action='<!--[ pncUserModURL func=methodforward Method=$custommodule.name Function=main ]-->' method='post'>
        <div class="admincell25">
            <input type='submit' name='submit' value='<!--[ $custommodule.info.button ]-->'>
        </div>
        </form>
        <div class="admincell66">
            <!--[ $custommodule.info.description ]-->
        </div>
        <!--[ /foreach ]-->
    </div>
</fieldset>
</div>
<!--[ /if ]-->


<!--[ include file='pncommerce_admin_commonFooter.html' ]-->
